-- card: 26894 from stack: in.3r -- bmap block id: 0 -- flags: 0000 -- background id: 2612 -- name: OSErr -- part 2 (button) -- low flags: 00 -- high flags: A004 -- rect: left=196 top=233 right=283 bottom=265 -- title width / last selected line: 0 -- icon id / first selected line: 27056 / 27056 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Try it ----- HyperTalk script ----- on mouseUp if the optionkey is down then edit script of me ask "Type in an error number..." with "-45" put it into errorCode if errorCode is empty then exit mouseup OSErr "©1988SDrazga",errorCode end mouseUp -- part contents for background part 2 ----- text ----- OSErr -- part contents for background part 3 ----- text ----- This XCMD provides a friendly interface for reporting errors that are returned from other XCMDs & XFCNs. It will display a dialog box with a short explanation of the error code. This XCMD is ©1988 by Steve Drazga and all rights are reserved. It may be used in any non-commercial, shareware, or commercial stacks as long as the following conditions are met: 1) Within the credits of the stack the phrase 'Portions ©1988 Steve Drazga' should be included. 2) Send a copy of your finished stack to me at: Steve Drazga AnalytX Box 388 Southampton, PA 18966 If you need custom XCMDs/XFCNs, stacks, or HyperCard training for your organization contact: AnalytX at (215) 750-0792. -- part contents for background part 10 ----- text ----- Syntax: OSErr "©1988SDrazga", The first parameter passed must be the copyright notice (the © symbol is option-g). The second parameter is an integer representing the error code that needs to be reported. -- part contents for background part 13 ----- text ----- 18 -- part contents for background part 30 ----- text ----- XCMD